import request from '@/utils/request'

// 图片增加
export  function imgadd(data) {
  return  request({
    // http://127.0.0.1:4523/mock/437142/sales/order/item/images/add
    // /purchase/supplier/list?size=5&current=1
    url: '/sales/order/item/images/add',
    method: 'post',
    data,
  })
}

// 图片增加
export  function imgdel(data) {
  return  request({
    // http://127.0.0.1:4523/mock/437142/sales/order/item/images/add
    // /purchase/supplier/list?size=5&current=1
    url: '/sales/order/item/images/del/'+data,
    method: 'post',
  })
}

// 图片列表
export  function imglist(data) {
  return  request({
    // http://127.0.0.1:4523/mock/437142/sales/order/item/images/add
    // /purchase/supplier/list?size=5&current=1
    url: '/sales/order/item/images/list',
    method: 'post',
    data
  })
}
